package com.xzz.service;

import com.xzz.domain.PayFlow;
import com.xzz.domain.PayOrder;
import com.baomidou.mybatisplus.service.IService;
import com.xzz.dto.Order2PayOrderParamDto;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xzz
 * @since 2022-09-18
 */
public interface IPayOrderService extends IService<PayOrder> {

    void savePayOrder(Order2PayOrderParamDto orderDto);

    PayOrder selectByOrderNo(String orderNo);

    void updatePayOrderAndInsertPayFlow(PayOrder payOrder, PayFlow payFlow);

    void closeOrder(String orderNo);
}
